package com.example.boot5mysqlatomikos.db2.dao;


import com.example.boot5mysqlatomikos.bean.*;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;


@Mapper
@Component
public interface CommonMapper2 {


  /**
   * 这里换成熟悉的xml sql方式，写sql可以和代码编写解耦
   * @param area
   * @return
   */

  // @Insert("insert into consult_configarea(AREACODE,AREANAME,STATE) values(#{areaCode},#{areaName},#{state})")
    int addArea(ConsultConfigArea area);

}
